package com.javassist.instrumentation_demo.test;

import java.lang.instrument.Instrumentation;

public class DurationAgent {

    public static void premain(String args, Instrumentation inst){
        System.out.println("开始 premain.........");
        inst.addTransformer(new DurationTransformer());
    }
}